package cn.boot1112.spingboot.Mapper;
import cn.boot1112.spingboot.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    /**
     * 抽象方法：通过用户名查找用户
     * @param username
     * @return
     */
    User findByUsername(String username);
}
